package com.hunt.model.dto;


/**
 * @author sjs
 * @className
 * @description
 * @date 2020/9/24
 */
public class StockMinDataVO {

    //最新价*10000
    private float price = 0;

    //开盘价*10000
    private float open = 0;

    //最高价*10000
    private float high = 0;

    //最低价*10000
    private float low = 0;

    //股数（单位：个股）
    private long vol = 0l;
    //成交额
    private long money = 0l;

    //成交笔数
    private long amount = 0l;

    //分钟时间
    private long time;

    //均价*10000
    private float avprice = 0;

    //涨跌比   计算：(newPrice-preClose)/preClose
    private float increase;

    //真实价格 计算：newPrice-preClose
    private float risefall;

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public float getOpen() {
        return open;
    }

    public void setOpen(float open) {
        this.open = open;
    }

    public float getHigh() {
        return high;
    }

    public void setHigh(float high) {
        this.high = high;
    }

    public float getLow() {
        return low;
    }

    public void setLow(float low) {
        this.low = low;
    }

    public long getVol() {
        return vol;
    }

    public void setVol(long vol) {
        this.vol = vol;
    }

    public long getMoney() {
        return money;
    }

    public void setMoney(long money) {
        this.money = money;
    }

    public long getAmount() {
        return amount;
    }

    public void setAmount(long amount) {
        this.amount = amount;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public float getAvprice() {
        return avprice;
    }

    public void setAvprice(float avprice) {
        this.avprice = avprice;
    }

    public float getIncrease() {
        return increase;
    }

    public void setIncrease(float increase) {
        this.increase = increase;
    }

    public float getRisefall() {
        return risefall;
    }

    public void setRisefall(float risefall) {
        this.risefall = risefall;
    }

    @Override
    public String toString() {
        return "StockMinDataVO{" +
                "price=" + price +
                ", open=" + open +
                ", high=" + high +
                ", low=" + low +
                ", vol=" + vol +
                ", amount=" + amount +
                ", time=" + time +
                ", avprice=" + avprice +
                ", increase=" + increase +
                ", risefall=" + risefall +
                '}';
    }
}
